package com.talent.mappers;

import com.talent.domain.Student;

import java.util.List;
import java.util.Map;

/**
 * May The Force Be With You
 * <p>
 * Created by zhumenglong on 2017/6/27.
 */
public interface StudentMapper {

    List<Student> findAllStudents();

    Student findStudentById(Integer id);

    Student selectStudentWithAddress(int id);

    void insertStudent(Student student);

    void insertStudentWithMap(Map<String, Object> map);

    void updateStudent(Student student);

    int deleteStudent(int id);

}
